//
//  PwrdSdkApi.hpp
//  clientOversea
//
//  Created by ming on 2019/1/9.
//

#ifndef PwrdSdkApi_hpp
#define PwrdSdkApi_hpp


#include <string>
#include <vector>
#include "cocos2d.h"



class PwrdSdkApi {
public:
    static void setRemoteVersionInfo(std::string versionInfoStr);
    static std::string getRemoteVersionInfo();
    static std::string getRemoteAppVersion();
    static std::string getRemoteResourceVersion();
    static std::vector<std::string> getCdnList();
    static void jumpToAppShop();
    // 是否是在提审
    static bool isReview();
    static bool checkPermissions();
    static void requestPermissions();
    static void goAppSetting();
    
    // 打点
    static void wanmeiTrackEvent(const char* data);
    static void wanmeiGameEvent(const char* eventName, int stateIndex, const char* url, const char* errorMsg);
    
    //设置SDK语言
    static void setSDKLanguage(const char* language);
};

#endif /* PwrdSdkApi_hpp */
